#!/usr/bin/python
# -*- coding: utf-8 -*-




# #字符串
# str1 = 'aa'
# str2 = 'bb'
# print(str1 + str2)
#
# #列表
# list1 = [1, 2]
# list2 = [3, 4]
# print(list1 + list2)
#
# #元组
# t1 = (1, 2)
# t2 = (3, 4)
# print(t1 + t2)
#
# #*
# #字符串
# print('_' * 10)
#
# #列表
# list1 = ['hello']
# print(list1 * 5)
#
# #元组
# tup1 = ('world',)
# print(tup1 * 5)
#






# #最大值，最小值
# # list1 = [1, 2, 3, 4]
# # print(max(list1))
# # print(min(list1))
# #
# #
# # #range
# # for i in range(1, 10, 2):
# #     print(i)
# #
# # for i in range(1, 10, 1):
# #     print(i)
# #
# # for i in range(10):
# #     print(i)



#enumerate()   枚举
# list1 = [1, 2, 3, 4]
#
# for i in enumerate(list1):
#     print(i)
#
# for i, j in enumerate(list1):
#     print('{0}:{1}'.format(i, j))


#容器类型转换
s2 = {10, 30, 20, 10, 30, 40, 30, 50}
num_list = ['8', '1', '5', '2', '4', '3', '9', '0']
